package system.model;

import system.common.Constants;
import system.util.StringUtil;

/**
 * <pre>
 * Class : system.model.DB1_WebkeeperDto / DB1_WebkeeperDto.java
 * 	Define Class Object : 
 * <br>
 * </pre>
 * @author hwanLee / apexcns,Inc.
 * @version 1.1
 * @see javadoc
 * @since 2012. 9. 10.
 */
public class DB1_WebkeeperDto { 
	private String content;
	private String host;
	private String URI;
	private String empname;
	private String gapsecond;
	private String filenum;
	private String rcvtime;
	private String USErid;
	private String cliadd;
	private String srvadd;
	private String type;
	private String passblocktype;
	
	/** <pre>
     * Method : DB1_WebkeeperDto.getContent()
     * 	to get content
     * <br> 
     * @return the content : type of String
     * </pre>
     */
	public String getContent() {
		return content;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.getContent()
     * 	to set content
     * <br> 
     * @return the content : type of String
     * </pre>
     */
	public void setContent(String content) {
		this.content = content;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.getHost()
     * 	to get host
     * <br> 
     * @return the host : type of String
     * </pre>
     */
	public String getHost() {
		return host;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.setHost()
     * 	to set host
     * <br> 
     * @return the host : type of String
     * </pre>
     */
	public void setHost(String host) {
		this.host = host;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.getURI()
     * 	to get URI
     * <br> 
     * @return the URI : type of String
     * </pre>
     */
	public String getURI() {
		return URI;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.setURI()
     * 	to get URI
     * <br> 
     * @return the URI : type of String
     * </pre>
     */
	public void setURI(String URI) {
		this.URI = URI;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.getEmpname()
     * 	to get empname
     * <br> 
     * @return the empname : type of String
     * </pre>
     */
	public String getEmpname() {
		return empname;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.setEmpname()
     * 	to set empname
     * <br> 
     * @return the empname : type of String
     * </pre>
     */
	public void setEmpname(String empname) {
		this.empname = empname;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.getGapsecond()
     * 	to get gapsecond
     * <br> 
     * @return the gapsecond : type of String
     * </pre>
     */
	public String getGapsecond() {
		return gapsecond;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.setGapsecond()
     * 	to set gapsecond
     * <br> 
     * @return the gapsecond : type of String
     * </pre>
     */
	public void setGapsecond(String gapsecond) {
		this.gapsecond = gapsecond;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.getFilenum()
     * 	to get filenum
     * <br> 
     * @return the filenum : type of String
     * </pre>
     */
	public String getFilenum() {
		return filenum;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.setFilenum()
     * 	to set filenum
     * <br> 
     * @return the filenum : type of String
     * </pre>
     */
	public void setFilenum(String filenum) {
		this.filenum = filenum;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.getRcvtime()
     * 	to get rcvtime
     * <br> 
     * @return the rcvtime : type of String
     * </pre>
     */
	public String getRcvtime() {
		return rcvtime;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.setRcvtime()
     * 	to set rcvtime
     * <br> 
     * @return the rcvtime : type of String
     * </pre>
     */
	public void setRcvtime(String rcvtime) {
		this.rcvtime = rcvtime;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.getUSErid()
     * 	to get USErid
     * <br> 
     * @return the USErid : type of String
     * </pre>
     */
	public String getUSErid() {
		return USErid;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.setUSErid()
     * 	to set USErid
     * <br> 
     * @return the USErid : type of String
     * </pre>
     */
	public void setUSErid(String USErid) {
		this.USErid = USErid;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.getCliadd()
     * 	to get cliadd
     * <br> 
     * @return the cliadd : type of String
     * </pre>
     */
	public String getCliadd() {
		return cliadd;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.setCliadd()
     * 	to set cliadd
     * <br> 
     * @return the cliadd : type of String
     * </pre>
     */
	public void setCliadd(String cliadd) {
		this.cliadd = cliadd;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.getSrvadd()
     * 	to get srvadd
     * <br> 
     * @return the srvadd : type of String
     * </pre>
     */
	public String getSrvadd() {
		return srvadd;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.setSrvadd()
     * 	to set srvadd
     * <br> 
     * @return the srvadd : type of String
     * </pre>
     */
	public void setSrvadd(String srvadd) {
		this.srvadd = srvadd;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.getType()
     * 	to get type
     * <br> 
     * @return the type : type of String
     * </pre>
     */
	public String getType() {
		return type;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.setType()
     * 	to set type
     * <br> 
     * @return the type : type of String
     * </pre>
     */
	public void setType(String type) {
		this.type = type;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.getPassblocktype()
     * 	to get passblocktype
     * <br> 
     * @return the passblocktype : type of String
     * </pre>
     */
	public String getPassblocktype() {
		return passblocktype;
	}
	/** <pre>
     * Method : DB1_WebkeeperDto.setPassblocktype()
     * 	to set passblocktype
     * <br> 
     * @return the passblocktype : type of String
     * </pre>
     */
	public void setPassblocktype(String passblocktype) {
		this.passblocktype = passblocktype;
	}

	@Override
	public String toString() {
	    String delimiter = Constants.delimiter;
	    
	    String res = StringUtil.rTrim(content) + delimiter;
	    res += StringUtil.rTrim(host) + delimiter;
	    res += StringUtil.rTrim(URI) + delimiter;
	    res += StringUtil.rTrim(empname) + delimiter;
	    res += StringUtil.rTrim(gapsecond) + delimiter;
	    res += StringUtil.rTrim(filenum) + delimiter;
	    res += StringUtil.rTrim(rcvtime) + delimiter;
	    res += StringUtil.rTrim(USErid) + delimiter;
	    res += StringUtil.rTrim(cliadd) + delimiter;
	    res += StringUtil.rTrim(srvadd) + delimiter;
	    res += StringUtil.rTrim(type) + delimiter;
	    res += StringUtil.rTrim(passblocktype) + "\n";
	    
	    return res;
	}
}
